<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"   %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title>学生成绩信息</title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
    <style>
     #contain{
     margin-left:120px;
      margin-right:172px;
      background-color: #ccffcc;
     }
	
	  #top{
        height:180px;
	    width:1000px;
	    border-bottom: 0px solid;
	
	    background-color: #ccffcc;
	
	   
	 
	  }
	  #center{
      height:400px;
	  width:1000px;
      border-top: 5px solid;
       border-color: #ffffcc;
      background-color: #ccffcc;
	  }
	  #bottom{
      height:100px;
	   width:1000px;
	  border-top: 5px solid;
	   border-color: #ffffcc;
	  background-color: #ccffcc;
	  }
	

	.user{
	   margin-bottom:100px;
	   margin-left: 600px;
	}
	
	#main{
	
	  height:60px;
	  margin-top:20px;
	 
	}
	#reg{
	
	font-size: 150%;
	font-weight: bold;
	}
	
	 #centertitle {
list-style-type: none;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 70px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 70px;

}
	
#centertitle li{
  float: left;
padding-left: 20px;
position: relative;
line-height: 30px;
width: 80px;
height: 30px;
  
 }
#centertitle li a{
	display: block;
	text-decoration: none;
	font-size: 120%;
	
}
#centertitle #childeren{
	
list-style-type: none;
position: absolute;
padding: 0px;
}

#centertitle   #child #childeren li{
	list-style-type: none;
   padding-left: 0px;
   position: relative;
    
}

 #centertitle #child #childeren li a{
	display: block;
	text-decoration: none;
	font-size: 120%;
	display: block;
}
  #formselect{
	  margin-top:40px;
	  border: 0px solid;
	
	 
	 
	  }
	 
	</style>
	
 </head>
 <script type="text/javascript">

     window.onload = function (){
     document.getElementById("child").style.visibility="hidden";
     document.getElementById("child1").style.visibility="hidden";
        document.getElementById("child2").style.visibility="hidden";
           document.getElementById("child3").style.visibility="hidden";
   }
      function yincang() {
     
     document.getElementById("child").style.visibility="visible";
  
    
}
    function xianshi(){
       document.getElementById("child").style.visibility="hidden";
      
     }
  function yincang1() {
     
     document.getElementById("child1").style.visibility="visible";
  
    
}
    function xianshi1(){
       document.getElementById("child1").style.visibility="hidden";
      
     }
      function yincang2() {
     
     document.getElementById("child2").style.visibility="visible";
  
    
}
    function xianshi2(){
       document.getElementById("child2").style.visibility="hidden";
      
     }
           function yincang3() {
     
     document.getElementById("child3").style.visibility="visible";
  
    
}
    function xianshi3(){
       document.getElementById("child3").style.visibility="hidden";
      
     }
 </script>

 <body>
    <div id="contain">
      <div id="top">
    <img src="${pageContext.request.contextPath}/Picture/ee.jpg"></img>
      <span class="user">用户名|欢迎用户使用|退出</span>
   
    </div>
      <div id="center">
       <div id="title">
        
          <ul id="centertitle" >
        <li><a href="${pageContext.request.contextPath}/index.action">首页</a> </li>
   
             <li><a href="${pageContext.request.contextPath}/index.action"   onMouseOver="yincang()" onmouseout="xianshi()"   >信息管理</a>
             <div id="child" onMouseOver="yincang()" onmouseout="xianshi()">
             <ul  id="childeren" >
              <li><a href="${pageContext.request.contextPath}/student_selectSutudent.action" >信息显示</a></li> 
              <li><a href="${pageContext.request.contextPath}/student_addStudent.action">信息添加</a></li> 
             <!-- <li><a href="#">信息删除</a></li>   -->
            </ul>
         </div>
            </li>
           
           <li><a href="${pageContext.request.contextPath}/grade_findScroeAll.action" onMouseOver ="yincang1()"  onmouseout="xianshi1()" >成绩管理</a>
             <div id="child1"  onMouseOver="yincang1()" onmouseout="xianshi1()">
            <ul id="childeren">
              <li><a href="${pageContext.request.contextPath}/grade_findScroeAll.action">成绩显示</a></li> 
              <li><a href="${pageContext.request.contextPath}/grade_addScroeAll.action">成绩添加</a></li> 
              <li><a href="#">成绩删除</a></li>  
            </ul>
           </div>
           </li>
             <li><a href="${pageContext.request.contextPath}/innvoation_findAllInvoation.action" onMouseOver ="yincang2()"  onmouseout="xianshi2()">创新管理</a>
             <div id="child2"  onMouseOver="yincang2()" onmouseout="xianshi2()">
              <ul id="childeren">
              <li><a href="${pageContext.request.contextPath}/innvoation_findAllInvoation.action">创新显示</a></li> 
              <li><a href="${pageContext.request.contextPath}/innvoation_addPageInnvoation.action">创新申请</a></li> 
              <li><a href="#">创新删除</a></li> 
            </ul>
            </div>
             </li>
            <li><a href="${pageContext.request.contextPath}/activity_findAllActivity.action" onMouseOver ="yincang3()"  onmouseout="xianshi3()">活动管理</a>
            <div id="child3"  onMouseOver="yincang3()" onmouseout="xianshi3()">
             <ul id="childeren">
              <li><a href="${pageContext.request.contextPath}/activity_findAllActivity.action">活动显示</a></li> 
              <li><a href="${pageContext.request.contextPath}/activity_addPageActivity.action">活动添加</a></li> 
              <li><a href="#">活动删除</a></li> 
            </ul>
            </div>
            </li>
        </ul>
        
      
        </div>  
     <div id="main" align="center">
     <span id="reg"> 学生成绩显示</span>
     </div>
     <div id="formid">
       <form action="" method="post" >
          <table  width="800px" height="300px" align="center"  border="4px" bordercolor="white" >
         
            <tr align="center" >
                <td>学生</td>
                <td>课程名</td>
                <td>成绩</td>
                  <td>操作</td>
            </tr>
           <s:iterator value="glist">
              <tr align="center">
               <td><s:property value="students.name"/></td>
                <td><s:property value="courses.cname"/></td>
             <td>  <s:property value="score"/></td>
             <td><a href="${pageContext.request.contextPath}/grade_updatePageGrade.action?gid=<s:property value="gid"/>" >修改</a>&nbsp
             <a href="${pageContext.request.contextPath}/grade_deleteGrade.action?gid=<s:property value="gid"/>">删除</a></td>
           
            </tr>
     </s:iterator>

       <!--   <tr align="center" >
             <td>1</td>
               <td>数学</td>
                <td>90</td>
                 <td>操作</td>
               </tr  >
               -->  
     
      
      </table>
       </form>
     
     </div>
     </div>
     <div  id="bottom">
           <p align="center">   版权&copy;:版权所有，违者必究
         </p>
          <address align="center">E-mail:abcdef@126.com</address>
     
     </div>
</div>


 </body>
</html>

